/*
 * Main.fx
 *
 * Created on 14.05.2009, 15:51:34
 */

package javafx179labs.melnik.lab1;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.*;
import javafx.scene.paint.Color;
import javafx.scene.effect.*;
import javafx.scene.paint.*;
import javafx.scene.effect.light.*;
import javafx.scene.transform.*;





/**
 * @author elen
 */

Stage {
    title: "Application title"
    width: 600
    height: 250
    scene: Scene {
        content: [
          Circle {
  centerX: 50  centerY: 50
   radius: 20
   fill: Color.YELLOW
  effect: Bloom {threshold: 0.6}
  transforms: Shear { x: -0.35 y: 0 }

 }

 Line {
    startX: 15  startY: 15
    endX: 85 endY: 85
    stroke: Color.YELLOW
    effect: Bloom {threshold: 0.6}
    transforms: Shear { x: -0.35 y: 0 }
}
Line {
    startX: 50  startY: 4
    endX: 50  endY: 100
    stroke: Color.YELLOW
    effect: Bloom {threshold: 0.6}
    transforms: Shear { x: -0.35 y: 0 }
}
Line {
    startX: 85  startY: 15
    endX: 15  endY: 85
    stroke: Color.YELLOW
    effect: Bloom {threshold: 0.6}
    transforms: Shear { x: -0.35 y: 0 }
}
Line {
    startX: 4  startY: 50
    endX: 100  endY: 50
    stroke: Color.YELLOW
    effect: Bloom {threshold: 0.6}
    transforms: Shear { x: -0.35 y: 0 }
}
Ellipse {
 centerX: 300  centerY: 50
 radiusX: 90  radiusY: 25
 fill: Color.BLUE
 effect: GaussianBlur {}

 }
 Ellipse {
 centerX: 270  centerY: 50
 radiusX: 35  radiusY: 35
 fill: Color.BLUE
 effect: GaussianBlur {}

 }
 Ellipse {
 centerX: 300  centerY: 50
 radiusX: 35  radiusY: 35
 fill: Color.BLUE
 effect: GaussianBlur {}

 }
 Ellipse {
 centerX: 330  centerY: 50
 radiusX: 35  radiusY: 35
 fill: Color.BLUE
 effect: GaussianBlur {}

 }
 QuadCurve {
    startX: 0.0     startY: 250.0
    endX: 225.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 150.0     startY: 250.0
    endX: 450.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 300.0     startY: 250.0
    endX: 500.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 420.0     startY: 250.0
    endX: 600.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 500.0     startY: 250.0
    endX: 700.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 600.0     startY: 250.0
    endX: 850.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }

}
 QuadCurve {
    startX: 750.0     startY: 250.0
    endX: 900.0      endY: 250.0
    controlX: 10.10  controlY: 0.0
     fill: Color.AQUA
     effect: InnerShadow { offsetX: 4 offsetY: 4 }


}
Ellipse {
 centerX: 500  centerY: 175
 radiusX: 38 radiusY: 50
 fill: Color.AQUA
 effect: InnerShadow { offsetX: 4 offsetY: 4 }

 }
 Ellipse {
 centerX: 550  centerY: 175
 radiusX: 38 radiusY: 50
 fill: Color.AQUA
 effect: InnerShadow { offsetX: 4 offsetY: 4 }

 }
 Rectangle {
    x: 0  y: 145
    width: 600  height: 150
    arcWidth: 20  arcHeight: 20
    fill:Color.AQUA
    effect: MotionBlur { radius: 15 angle: -30 }

}
Rectangle {
    x: 400 y: 105
    width: 125  height: 45
    arcWidth: 10  arcHeight: 10
    fill: Color. CHOCOLATE
    effect: Lighting {
        light: DistantLight { azimuth: -135 }
        surfaceScale: 5
    }
    }
Polygon {
    points: [
         390.0,  95.0,
        402.0, 105.0,
        402.0, 150.0
    ]
    fill: Color.  CHOCOLATE
    effect: Lighting {
        light: DistantLight { azimuth: -135 }
        surfaceScale: 5
    }
    }
Line {
    startX: 520  startY: 70
    endX: 520  endY: 110
}
Polygon {
    points: [
         520.0,  70.0,
        545.0, 80.0,
        520.0, 90.0
     ]
     fill: Color.RED
     effect: GaussianBlur {}

}



            
        ]
    }
}